<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <form action="" method="" id="form">
        <input type="text" name="user">
        <input type="radio" name="sex">
        <input type="radio" name="sex">
        <select name="gg" id="">
            <option value="g">1</option>
            <option value="b">2</option>
            <option value="k">3</option>
        </select>
        <input type="submit">
    </form>

    <script>
        let oForm = document.getElementById("form");
        oForm.oninput = function() {
            console.log(1);
        }
    </script>
</body>
</html>